.welcomeContainer {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #0f1419 0%, #1a2332 25%, #0f1419 50%, #1a2332 75%, #0f1419 100%);
  position: relative;
  overflow: hidden;
  
  // 动态背景效果
  &::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
      radial-gradient(circle at 20% 20%, rgba(59, 130, 246, 0.08) 0%, transparent 50%),
      radial-gradient(circle at 80% 80%, rgba(249, 115, 22, 0.05) 0%, transparent 50%),
      radial-gradient(circle at 40% 60%, rgba(59, 130, 246, 0.04) 0%, transparent 50%),
      radial-gradient(circle at 60% 40%, rgba(249, 115, 22, 0.03) 0%, transparent 50%);
    animation: backgroundPulse 12s ease-in-out infinite;
  }
  
  // 几何网格背景
  &::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
      linear-gradient(rgba(59, 130, 246, 0.02) 1px, transparent 1px),
      linear-gradient(90deg, rgba(59, 130, 246, 0.02) 1px, transparent 1px),
      linear-gradient(45deg, rgba(249, 115, 22, 0.01) 1px, transparent 1px);
    background-size: 60px 60px, 60px 60px, 120px 120px;
    animation: gridMove 25s linear infinite;
  }
}

// 优化的流星效果
.flowingLines {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  z-index: 1;
  
  // 流星1 - 主要流星
  &::before {
    content: '';
    position: absolute;
    width: 3px;
    height: 120px;
    background: linear-gradient(
      to bottom,
      transparent 0%,
      rgba(144, 255, 144, 0.1) 20%,
      rgba(144, 255, 144, 0.6) 40%,
      rgba(144, 255, 144, 0.9) 60%,
      rgba(144, 255, 144, 0.4) 80%,
      transparent 100%
    );
    border-radius: 50%;
    box-shadow: 
      0 0 20px rgba(144, 255, 144, 0.5),
      0 0 40px rgba(144, 255, 144, 0.3),
      0 0 60px rgba(144, 255, 144, 0.1);
    animation: flowingLine 8s linear infinite;
    left: 15%;
  }
  
  // 流星2 - 次要流星
  &::after {
    content: '';
    position: absolute;
    width: 2px;
    height: 80px;
    background: linear-gradient(
      to bottom,
      transparent 0%,
      rgba(200, 255, 200, 0.05) 30%,
      rgba(200, 255, 200, 0.4) 50%,
      rgba(200, 255, 200, 0.7) 70%,
      rgba(200, 255, 200, 0.2) 90%,
      transparent 100%
    );
    border-radius: 50%;
    box-shadow: 
      0 0 15px rgba(200, 255, 200, 0.4),
      0 0 30px rgba(200, 255, 200, 0.2);
    animation: flowingLine 6s linear infinite;
    animation-delay: 2s;
    left: 85%;
  }
}

// 额外的流星效果
.meteorShower {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  z-index: 1;
  
  &::before,
  &::after {
    content: '';
    position: absolute;
    width: 1.5px;
    height: 60px;
    background: linear-gradient(
      to bottom,
      transparent 0%,
      rgba(180, 255, 180, 0.1) 40%,
      rgba(180, 255, 180, 0.5) 60%,
      rgba(180, 255, 180, 0.2) 80%,
      transparent 100%
    );
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(180, 255, 180, 0.3);
  }
  
  &::before {
    animation: flowingLine 7s linear infinite;
    animation-delay: 1s;
    left: 25%;
  }
  
  &::after {
    animation: flowingLine 9s linear infinite;
    animation-delay: 4s;
    left: 75%;
  }
}

// 粒子效果
.particles {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  z-index: 2;
  
  &::before,
  &::after {
    content: '';
    position: absolute;
    width: 4px;
    height: 4px;
    background: #00ff00;
    border-radius: 50%;
    box-shadow: 0 0 10px #00ff00;
    animation: particleFloat 8s ease-in-out infinite;
  }
  
  &::before {
    left: 20%;
    animation-delay: 0s;
  }
  
  &::after {
    left: 80%;
    animation-delay: 4s;
  }
}

// 动态光效
.dynamicLights {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  z-index: 3;
  
  &::before,
  &::after {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(0, 255, 0, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: lightMove 12s ease-in-out infinite;
  }
  
  &::before {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
  }
  
  &::after {
    bottom: 20%;
    right: 10%;
    animation-delay: 6s;
  }
}

// 流动波浪效果
.waveEffect {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  z-index: 4;
  
  &::before {
    content: '';
    position: absolute;
    top: 50%;
    left: -100%;
    width: 300%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #00ff00, transparent);
    animation: waveMove 10s linear infinite;
  }
  
  &::after {
    content: '';
    position: absolute;
    top: 30%;
    left: -100%;
    width: 300%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 255, 0, 0.5), transparent);
    animation: waveMove 8s linear infinite reverse;
  }
}

// 旋转光环
.rotatingRing {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  pointer-events: none;
  z-index: 5;
  
  &::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 1px solid rgba(0, 255, 0, 0.1);
    border-radius: 50%;
    animation: rotateRing 20s linear infinite;
  }
  
  &::after {
    content: '';
    position: absolute;
    top: 50px;
    left: 50px;
    right: 50px;
    bottom: 50px;
    border: 1px solid rgba(0, 255, 0, 0.05);
    border-radius: 50%;
    animation: rotateRing 15s linear infinite reverse;
  }
}

.welcomeContent {
  text-align: center;
  background: rgba(18, 22, 30, 0.85);
  padding: 80px 60px;
  border-radius: 24px;
  box-shadow: 
    0 30px 60px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(88, 126, 199, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(20px);
  max-width: 760px;
  width: 100%;
  position: relative;
  z-index: 10;
  border: 1px solid rgba(88, 126, 199, 0.22);
  
  // 内容区域发光效果
  &::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, 
      rgba(59, 130, 246, 0.15), 
      transparent 30%, 
      rgba(249, 115, 22, 0.1) 70%, 
      transparent);
    border-radius: 26px;
    z-index: -1;
    opacity: 0.6;
    animation: borderGlow 4s ease-in-out infinite alternate;
  }
}

.mainTitle {
  margin-bottom: 60px !important;
  color: #e8edf5 !important;
  font-size: 3.4rem !important;
  font-weight: 800 !important;
  text-shadow: 
    0 4px 24px rgba(0, 0, 0, 0.35),
    0 0 1px rgba(255, 255, 255, 0.05);
  letter-spacing: 2px;
  position: relative;
  
  // 标题下划线效果
  &::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 3px;
    background: linear-gradient(90deg, transparent, rgba(88, 126, 199, 0.8), transparent);
    border-radius: 2px;
    animation: titleUnderline 2s ease-in-out infinite;
  }
  
  @media (max-width: 768px) {
    font-size: 2.5rem !important;
    letter-spacing: 1px;
  }
}

.subtitle {
  color: #aeb8c7 !important;
  font-size: 1.2rem !important;
  margin-bottom: 50px !important;
  font-weight: 400 !important;
  opacity: 0.9;
}

.buttonContainer {
  display: flex;
  flex-direction: column;
  gap: 35px;
  align-items: center;
  
  @media (min-width: 768px) {
    flex-direction: row;
    justify-content: center;
    gap: 50px;
  }
}

.enterButton {
  min-width: 280px !important;
  height: 60px !important;
  font-size: 18px !important;
  font-weight: 600 !important;
  border-radius: 16px !important;
  background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 50%, #3b82f6 100%) !important;
  background-size: 200% 200% !important;
  border: none !important;
  color: #ffffff !important;
  box-shadow: 
    0 8px 25px rgba(59, 130, 246, 0.25),
    0 4px 12px rgba(0, 0, 0, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    inset 0 -1px 0 rgba(0, 0, 0, 0.1) !important;
  transition: all 0.3s cubic-bezier(0.4, 0.0, 0.2, 1) !important;
  position: relative !important;
  overflow: hidden !important;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3) !important;
  letter-spacing: 1px !important;
  
  // 按钮内部发光效果
  &::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
    transition: left 0.8s;
  }
  
  // 按钮内部装饰
  &::after {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    right: 3px;
    bottom: 3px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, transparent 50%);
    border-radius: 13px;
    pointer-events: none;
  }
  
  &:hover {
    transform: translateY(-4px) scale(1.02) !important;
    box-shadow: 
      0 4px 8px rgba(0, 0, 0, 0.12),
      0 2px 4px rgba(0, 0, 0, 0.08),
      inset 0 1px 0 rgba(255, 255, 255, 0.08),
      inset 0 -1px 0 rgba(0, 0, 0, 0.06) !important;
    background-position: 100% 100% !important;
    
    &::before {
      left: 100% !important;
    }
  }
  
  &:active {
    transform: translateY(-2px) scale(1.01) !important;
    box-shadow: 
      0 2px 4px rgba(0, 0, 0, 0.1),
      0 1px 2px rgba(0, 0, 0, 0.06) !important;
  }
}

.helpButton {
  min-width: 280px !important;
  height: 60px !important;
  font-size: 18px !important;
  font-weight: 600 !important;
  border-radius: 16px !important;
  background: transparent !important;
  background-size: 200% 200% !important;
  border: 1px solid rgba(120, 115, 110, 0.25) !important;
  color: rgba(160, 155, 150, 0.65) !important;
  box-shadow: 
    0 2px 4px rgba(0, 0, 0, 0.06),
    0 1px 2px rgba(0, 0, 0, 0.04),
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    inset 0 -1px 0 rgba(0, 0, 0, 0.04) !important;
  transition: all 0.3s cubic-bezier(0.4, 0.0, 0.2, 1) !important;
  position: relative !important;
  overflow: hidden !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2) !important;
  letter-spacing: 1px !important;
  
  // 按钮内部发光效果
  &::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
    transition: left 0.8s;
  }
  
  // 按钮内部装饰
  &::after {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    right: 3px;
    bottom: 3px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, transparent 50%);
    border-radius: 13px;
    pointer-events: none;
  }
  
  &:hover {
    transform: translateY(-3px) scale(1.01) !important;
    background: rgba(180, 175, 170, 0.06) !important;
    border-color: rgba(150, 145, 140, 0.4) !important;
    color: rgba(220, 215, 210, 0.85) !important;
    box-shadow: 
      0 3px 6px rgba(0, 0, 0, 0.08),
      0 1px 3px rgba(0, 0, 0, 0.06),
      inset 0 1px 0 rgba(255, 255, 255, 0.06),
      inset 0 -1px 0 rgba(0, 0, 0, 0.04) !important;
    
    &::before {
      left: 100% !important;
    }
  }
  
  &:active {
    transform: translateY(-1px) scale(1.005) !important;
    background: rgba(160, 155, 150, 0.1) !important;
    box-shadow: 
      0 1px 3px rgba(0, 0, 0, 0.06),
      0 1px 2px rgba(0, 0, 0, 0.04) !important;
  }
}

// 动画定义
@keyframes backgroundPulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.8;
  }
}

@keyframes gridMove {
  0% {
    transform: translate(0, 0);
  }
  100% {
    transform: translate(50px, 50px);
  }
}

@keyframes borderGlow {
  0% {
    opacity: 0.3;
  }
  100% {
    opacity: 0.6;
  }
}

@keyframes titleUnderline {
  0%, 100% {
    width: 120px;
    opacity: 1;
  }
  50% {
    width: 150px;
    opacity: 0.8;
  }
}

// 优化的流星动画
@keyframes flowingLine {
  0% {
    top: -120px;
    opacity: 0;
    transform: rotate(15deg);
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    top: 100vh;
    opacity: 0;
    transform: rotate(15deg);
  }
}

@keyframes particleFloat {
  0%, 100% {
    transform: translateY(0) scale(1);
    opacity: 0.3;
  }
  25% {
    transform: translateY(-50px) scale(1.2);
    opacity: 1;
  }
  50% {
    transform: translateY(-100px) scale(0.8);
    opacity: 0.5;
  }
  75% {
    transform: translateY(-50px) scale(1.1);
    opacity: 0.8;
  }
}

@keyframes lightMove {
  0%, 100% {
    transform: translate(0, 0) scale(1);
    opacity: 0.3;
  }
  25% {
    transform: translate(100px, -50px) scale(1.2);
    opacity: 0.6;
  }
  50% {
    transform: translate(50px, 100px) scale(0.8);
    opacity: 0.4;
  }
  75% {
    transform: translate(-50px, 50px) scale(1.1);
    opacity: 0.7;
  }
}

@keyframes waveMove {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(100%);
  }
}

@keyframes rotateRing {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

// 新增边框渐变动画
@keyframes borderGradient {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

// 响应式设计
@media (max-width: 768px) {
  .welcomeContent {
    padding: 70px 40px;
    margin: 20px;
  }
  
  .mainTitle {
    font-size: 2.5rem !important;
  }
  
  .buttonContainer {
    gap: 30px;
  }
  
  .enterButton,
  .helpButton {
    min-width: 320px;
    height: 80px;
    font-size: 22px;
  }
  
  .rotatingRing {
    width: 500px;
    height: 500px;
  }
}

@media (max-width: 480px) {
  .welcomeContent {
    padding: 60px 30px;
    margin: 20px;
  }
  
  .mainTitle {
    font-size: 2rem !important;
  }
  
  .buttonContainer {
    gap: 25px;
  }
  
  .enterButton,
  .helpButton {
    min-width: 280px;
    height: 75px;
    font-size: 20px;
  }
  
  .rotatingRing {
    width: 400px;
    height: 400px;
  }
}
